 用来测试从手机获取照片
 
 <div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'capture-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>	
 	<input type="file" accept="image/*" capture="camera">
 	
 	<div class="row buttons">
			
		<?php echo CHtml::submitButton('上传', array('class' => 'btn btn-large btn-primary')); ?>
		
	</div>
<?php $this->endWidget(); ?>
</div><!-- form -->